package l2

import (
	"reflect"

	hl2 "zstackgo/pkg/header/network/l2"
	"zstackgo/spring"
)

func init() {
	spring.RegisterInterface("network.l2.L2NetworkDefaultMtu", reflect.TypeOf((*L2NetworkDefaultMtu)(nil)).Elem())
}

type L2NetworkDefaultMtu interface {
	GetL2NetworkType() string
	GetDefaultMtu(inv *hl2.L2NetworkInventory) int64
}
